/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.subway.utilitarios;

import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;

/**
 *
 * @author Héctor <UFG>
 */

@ManagedBean (name="captchaBean")
@SessionScoped
public class captchaBean {

    public void submit(ActionEvent event) {
        FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, "Correct", "Correct");

        FacesContext.getCurrentInstance().addMessage(null, msg);
    }
}
